users / [USER]

CLI REST-API

set-password

set-password [password]
The "set-password" sets a new password for this user account.

RESTAPI: The data can be passed in the body like this:
{
    "parameters": {
        "password": "secret"
    }
}
NameValueDescriptionExample
passwordsecret
See also:
/users/[USER]

REST-API Support:


This command is supported by the REST API:

Method: PUT
URL: /api/users/bob/set-password
Body:
{
    "parameters": {
        "password": [password]
    }
}

Example using curl:
curl -X PUT /api/users/bob/set-password -d 
"{
    \"parameters\": {
        \"password\": \"secret\"
    }
}"